package com.zelix;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.EventObject;
import javax.swing.JList;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;

class hh
        implements ActionListener, ListSelectionListener {

    z2 a;

    hh(z2 z2_1) {
        a = z2_1;
    }

    public void actionPerformed(ActionEvent actionevent) {
    }

    public void valueChanged(ListSelectionEvent listselectionevent) {
        if (listselectionevent.getValueIsAdjusting())
            return;
        t3 t3_1 = (t3) listselectionevent.getSource();
        int i = t3_1.getSelectedIndex();
        if (i > -1)
            a.a(t3_1.getSelectedIndex(), listselectionevent);
    }
}